package com.imyours.webservice.service;

/**
 * 服务错误实体类
 * 
 * @author Slevenc
 * 
 */
public class ServiceError {

	/**
	 * 错误代码
	 */
	private int code = 0;
	/**
	 * 错误提示消息
	 */
	private String msg = "";

	public ServiceError() {
	}

	public ServiceError(int code, String msg) {
		this.code = code;
		this.msg = msg;
	}

	public int getCode() {
		return code;
	}

	public void setCode(int code) {
		this.code = code;
	}

	public String getMsg() {
		return msg;
	}

	public void setMsg(String msg) {
		this.msg = msg;
	}

}
